/*
 * OPIAM Suite
 *
 * Distributable under LGPL license.
 * See terms of license at gnu.org.
 */

package opiam.admin.faare.service.services.views;

import opiam.admin.faare.persistence.javabeans.JBTop;


/**
 *
 * This class allows to instantiate the virtual nodes. <br>
 * These virtual nodes are declared in the views.xml file by the "objectview"
 *  element of type="virtual".<br>
 *
 * Example: <br>
 *         <code>&lt;objectview name="clients" type="virtual" labelAtt="name"
 *           value="Clients" icon="./images/personneam.gif"/&gt;</code> <br>
 *
 */
public class JBVirtual extends JBTop
{
    /** Name of the node. */
    private String name;

    /**
     * Returns the name of the node.
     *
     * @return The name.
     */
    public String getName()
    {
        return name;
    }

    /**
     * Sets the name of the node.
     *
     * @param aname  The name to set.
     */
    public void setName(String aname)
    {
        this.name = aname;
    }
}
